Skip to content

Minor fixes for GitHub actions#418

Merged
ibihim merged 3 commits intobrancz:masterfrom
stlaz:gh-actions-fixes
Mar 23, 2026
Merged

Minor fixes for GitHub actions#418
ibihim merged 3 commits intobrancz:masterfrom
stlaz:gh-actions-fixes

Conversation

@stlaz
Copy link
Collaborator

@stlaz stlaz commented Mar 19, 2026

We seem to be publishing a lot in the Quay repo.

This PR reduces the amount of publishing to the repo only to v*-tags pushes.

The job no longer requires passing of all the previous jobs so it's important for PR CI to be run on the version that's getting tagged - but we already do that today.

Also explicitly scope down GH action permissions.

Might help with #400 if we don't push that many new tags, though not sure if this will exactly counter the Quay behavior described in the issue.

@stlaz stlaz force-pushed the gh-actions-fixes branch from cbe4b6f to 6655641 Compare March 19, 2026 13:55
stlaz added 2 commits March 19, 2026 14:56
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
@stlaz stlaz force-pushed the gh-actions-fixes branch from 6655641 to 55908a2 Compare March 19, 2026 13:56
@stlaz stlaz mentioned this pull request Mar 20, 2026
6 tasks

env:
QUAY_PATH: quay.io/brancz/kube-rbac-proxy
go-version: 1.25.8
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wondering if we need to document this, because people don't bump this, but go.mod.

password: ${{ secrets.QUAY_PASSWORD }}

- name: Build images and push
run: ./scripts/publish.sh
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exit 1 on non tags. pretty please

Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
@ibihim
Copy link
Collaborator

ibihim commented Mar 23, 2026

Lets give it a try :)

@ibihim ibihim merged commit bca0d0b into brancz:master Mar 23, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants